package trong.gold.soft.com.model;

import java.util.TimerTask;

import javax.microedition.lcdui.Canvas;

public class TestTimer extends TimerTask {
	private Canvas canvas;
	
	public TestTimer(Canvas canvas) {
		this.canvas = canvas;
	}
	
	public void run() {
		canvas.repaint();
		canvas.serviceRepaints();
	}
}